package com.magic.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author mzk
 * @Description
 * @create 2021-08-25 13:04
 */
//@Data
//@NoArgsConstructor
//@AllArgsConstructor
public class StudentDto {
    private String id;
    private String name;

    public StudentDto() {
    }

    public StudentDto(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "StudentDto{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
